package com.so206.mapper;

import com.so206.po.SystemDomain;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SystemDomainMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SystemDomain record);

    int insertSelective(SystemDomain record);

    SystemDomain selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SystemDomain record);

    int updateByPrimaryKey(SystemDomain record);

    List<SystemDomain> selectBySerach(@Param("domain") String domain);

    List<SystemDomain> selectByDomain(@Param("domain") String domain);

    List<SystemDomain> selectByStatusSerachNatureDomain(@Param("domain") String domain, @Param("status") Integer status, @Param("nature") Integer nature, @Param("serach") String serach);


}